package com.woniuxy.commons.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-16 10:59
 * @description:试卷库
 */

public class TestPaper implements Serializable {

    private static final long serialVersionUID = 2020071610598L;//具体数值自己定义
    //    试卷ID
    private long paperId;
    //    试卷名称
    private String paperName;
    //    出题时间
    private String paperBirth;
    //    出题人
    private String paperFounder;
    //    考试时间
    private String paperDate;
    //    所属学校
    private String paperSchool;
    //    试卷总分
    private double paperTotal;
    //    描述
    private String paperDescription;
    //    科目
    private String paperSubject;
    //    学期
    private Long paperTerm;
    //  类型:1,当天作业;2,周末作业;3,寒暑假作业;4,月考;5,期中考;6,期末考;
    private Integer paperType;
    //是否过期
    private boolean expired;
    //作业过期时间
    private String paperExpireTime;
    //考试时长
    private String paperDuration;
    //题目的实体集合
    List<TestQuestion> paperQuestions;
    //试卷状态：1，未开考；2，已考完；3，正在考
    private int paperStatus;

    public int getPaperStatus() {
        return paperStatus;
    }

    public void setPaperStatus(int paperStatus) {
        this.paperStatus = paperStatus;
    }

    public TestPaper() {
    }

    public long getPaperId() {
        return paperId;
    }

    public void setPaperId(long paperId) {
        this.paperId = paperId;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public String getPaperBirth() {
        return paperBirth;
    }

    public void setPaperBirth(String paperBirth) {
        this.paperBirth = paperBirth;
    }

    public String getPaperFounder() {
        return paperFounder;
    }

    public void setPaperFounder(String paperFounder) {
        this.paperFounder = paperFounder;
    }

    public String getPaperDate() {
        return paperDate;
    }

    public void setPaperDate(String paperDate) {
        this.paperDate = paperDate;
    }

    public String getPaperSchool() {
        return paperSchool;
    }

    public void setPaperSchool(String paperSchool) {
        this.paperSchool = paperSchool;
    }

    public double getPaperTotal() {
        return paperTotal;
    }

    public void setPaperTotal(double paperTotal) {
        this.paperTotal = paperTotal;
    }

    public String getPaperDescription() {
        return paperDescription;
    }

    public void setPaperDescription(String paperDescription) {
        this.paperDescription = paperDescription;
    }

    public String getPaperSubject() {
        return paperSubject;
    }

    public void setPaperSubject(String paperSubject) {
        this.paperSubject = paperSubject;
    }

    public Long getPaperTerm() {
        return paperTerm;
    }

    public void setPaperTerm(Long paperTerm) {
        this.paperTerm = paperTerm;
    }

    public Integer getPaperType() {
        return paperType;
    }

    public void setPaperType(Integer paperType) {
        this.paperType = paperType;
    }

    public boolean isExpired() {
        return expired;
    }

    public void setExpired(boolean expired) {
        this.expired = expired;
    }

    public String getPaperExpireTime() {
        return paperExpireTime;
    }

    public void setPaperExpireTime(String paperExpireTime) {
        this.paperExpireTime = paperExpireTime;
    }

    public String getPaperDuration() {
        return paperDuration;
    }

    public void setPaperDuration(String paperDuration) {
        this.paperDuration = paperDuration;
    }

    public List<TestQuestion> getPaperQuestions() {
        return paperQuestions;
    }

    public void setPaperQuestions(List<TestQuestion> paperQuestions) {
        this.paperQuestions = paperQuestions;
    }

    @Override
    public String toString() {
        return "TestPaper{" +
                "paperId=" + paperId +
                ", paperName='" + paperName + '\'' +
                ", paperBirth='" + paperBirth + '\'' +
                ", paperFounder='" + paperFounder + '\'' +
                ", paperDate='" + paperDate + '\'' +
                ", paperSchool='" + paperSchool + '\'' +
                ", paperTotal=" + paperTotal +
                ", paperDescription='" + paperDescription + '\'' +
                ", paperSubject='" + paperSubject + '\'' +
                ", paperTerm=" + paperTerm +
                ", paperType=" + paperType +
                ", expired=" + expired +
                ", paperExpiredTime='" + paperExpireTime + '\'' +
                '}';
    }
}
